#@adminLayout()

#define content()
#if(notice)
<script>
  alert("#(notice)");
</script>
#end
<div class="am-cf am-padding am-padding-bottom-0">
  <div class="am-fl am-cf">
    <strong class="am-text-primary am-text-lg">待归档计划列表</strong>
  </div>
  <div style="float: right">
    <button class="am-btn am-btn-warning am-btn-xs" onclick="window.location.href='/admin/archive/archive'"><span class="am-icon-plus"></span>
      执行归档
    </button>
  </div>
</div>
<hr>
<div class="am-g">
  <div class="am-u-sm-12">
    <table class="am-table am-table-striped am-table-hover table-main">
      <thead>
      <tr>
        <th class="table-id">ID</th>
        <th class="table-title">公司名称</th>
        <th class="table-type">车牌号</th>
        <th class="table-author am-hide-sm-only">入库时间</th>
        <th class="table-author am-hide-sm-only">入库位置</th>
        <th class="table-author am-hide-sm-only">当前状态</th>
      </tr>
      </thead>
      <tbody>
      #for(scheduler : schedulerList)
      <tr>
        <td>#(for.count)</td>
        <td>#(scheduler.company)</td>
        <td>#(scheduler.van)</td>
        <td class="am-hide-sm-only">#(tools.getDateTimeStr(scheduler.planTime))</td>
        <td class="am-hide-sm-only">#(scheduler.position)</td>
        <td class="am-hide-sm-only">#(status.getStr(scheduler.status))</td>
      </tr>
      #else
      <tr>
        <td colspan="6" style="text-align: center">暂无记录</td>
      </tr>
      #end
      </tbody>
    </table>
  </div>
</div>
#end